# 面试题: 怎么对列表去重?
list1=[1,2,3,2,3,4,1,1,1,1]
# lis=[1,2,3,4]
# 第一种答案:
list2=[]
for e in list1:
    if e not in list2:
        list2.append(e)